package it.polimi.swKnights.SWIMv2.ejb.helpRequest;

import it.polimi.swKnights.SWIMv2.ejb.exceptions.InvalidDateException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.InvalidLoginPrivilegesException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.LoginFailException;

import javax.ejb.Remote;
import javax.persistence.EntityNotFoundException;

@Remote
public interface HelpRequestHandlerRemote
{
	void sendHelpRequest(String useridAsker, String password,
			String useridHelper, String title, String expirationDate, String summary)
			throws EntityNotFoundException, LoginFailException,
			InvalidLoginPrivilegesException, InvalidDateException;

}
